
#ifndef  STAT_H
#define  STAT_H

#include "types.h"


#define T_DIR     1
#define T_FILE    2
#define T_DEVICE  3


struct stat {
  uint dev;     // file system's disk device
  uint ino;     // inode number
  short type;   // Type of file
  short nlink;  // Number of links to file
  uint64 size;  // size of file in bytes
};


#endif   /* STAT_H */
